package monitoring;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: webmaster@pavel-kaminsky.com
 * @Date: 04/09/11
 */
public class MemLeak {

    public static void main(String[] args) {

        List<String> strings = new ArrayList<String>();

        while(true) {
            strings.add(String.valueOf(Math.random()*100));
            try {
                Thread.sleep(10);
            } catch (InterruptedException e ) {
                e.printStackTrace();
            }
        }
    }
}
